package com.spic.system.activiti.service;


import com.spic.system.activiti.domain.dto.TaskFinshDTO;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface IProcessInstanceService
{

    List<Map<String, Object>> getHistoryInfoList(String procInstId) throws Exception;
    /**
     * 查询流程实例审批历史流程图
     * @param prodInstId
     * @param response
     */
    void getHistoryProcessImage(String prodInstId, HttpServletResponse response);


    void cancel(String businessKey, String businessType,String procInstId, String message);

    Map<String, Object> getProcInstFinish(TaskFinshDTO taskFinshDTO);

    Map<String, Object> getProcInstRunning();
}
